std::toupper
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Strings library | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| Null-terminated byte strings | |||||||||||||||||||||||||||||||||||||
| Defined in header <cctype>
| ||
| int toupper( int ch );
| ||
Converts the given character to uppercase.
[edit] Parameters
| ch | - | character to be converted |
[edit] Return value
converted character or ch if no such conversion was possible
[edit] See also
| converts a character to lowercase (function) | |
| converts a character to uppercase using the ctype facet of a locale (function template) | |
| converts a wide character to uppercase (function) | |